home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
EDITOR
/
VIEW002.ARJ
/
README.DOC
< prev
next >
Wrap
Text File
|
1991-09-14
|
5KB
|
137 lines
View 0.02 - A simple small windowed text file viewer.
Copyright (c) 1991 James P. Goodwin.
All rights reserved.
Redistribution and use in source and binary forms are per-
mitted provided that the above copyright notice is dupli-
cated in all such forms and that any documentation,
advertising materials, and other materials related to such
distribution and use acknowledge that the software was
developed by James P. Goodwin.
THE SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS
OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PAR-
TICULAR PURPOSE.
Keys that mean something to VIEW:
Left Arrow Shift active window contents left.
Right Arrow Shift active window contents right.
Up Arrow Move active window back one line in file.
Down Arrow Move active window forward one line in file.
Page Down Move active window one page down in file.
Page Up Move active window one page up in file.
Home Move active window to top of file.
End Move active window to end of file.
Ctrl Left Arrow Move active window left on screen.
Ctrl Right Arrow Move active window right on screen.
Ctrl Home Maximize active window.
Ctrl End Tile windows.
Ctrl Page Down Move active window down on screen.
Ctrl Page Up Move active window up on screen.
S (or s) Search for a string, exact match on line only.
C (or c) Clone active window.
D (or d) Delete active window if last window ends program.
F (or f) VIEW a new file in a new window.
Special file name "memory" will view memory as if it
were a file.
Pressing enter at the filename prompt will show a
directory, pressing enter on a directory will
change to that directory, pressing enter on a file
will view the file.
Typing a letter A-Z will switch to that drive if
it has a disk.
X (or x) View data in hex 16 byte records with offset on left.
B (or b) View data as 80 byte records with offset on left.
G (or g) Goto a line, offset, or memory address.
E (or e) Toggle between 43/50 line mode on EGA/VGA.
W Increases width of window.
w Decreases width of window.
H Increases height of window.
h Decreases height of window.
Tab Move to next window.
Shift Tab Move to previous window.
Esc Quit VIEW.
Command Line:
[command | ]VIEW [<filename] [filename..filename]
----------------------------------NOTES-------------------------------
Notes for 0.02 release:
-----------------------
VIEW now buffers a large (20K) portion of the file so that on
floppies the speed is not as crummy if you don't care about floppies
and memory is more important, this buffer can be changed to any size
that is divisible by four (see VIEW_BUF_SIZE in view.h).
VIEW is now somewhat memory model specific, you will need to compile
it as either compact or large model.
I have included a make file and have broken view.c into multiple
source modules (like mom tells you to) that are grouped by function.
I have moved the definitions into a header file view.h which also
contains some macros for turning features on or off, this will
influence the size of view.exe considerably.
Hex and "binary" modes are now specific to each window so you can
view a file all three ways in three windows.
Tiling now prefers horizontal windows, then relatively square
windows, then useless windows...
View reads the BIOS data area to get the number of rows and columns
on the screen so that if you set the screen to 132x44 VIEW will take
advantage of it, don't type e/E in these modes or your screen will
depart for places unknown...
View compresses the saved regions of the screen when windowing (it
uses a run-length coding on screen words) to try and conserve memory
when running with windows fully zoomed...
MAKING VIEW
with Borland MAKE 3.50 just type MAKE <RETURN> and VIEW will compile
with Microsoft C 6.0, I haven't tried compiling it with Borland
C++...
Notes from 0.01 release:
------------------------
VIEW can VIEW a maximum of 19 files, with a little hacking this
can be gotten around :) (I already close stdprn,stderr,stdaux,
and stdout).
VIEW is not memory model specific so you can build a large model
version if you want this will just prevent possible allocation
errors, but I have found that you will run out of file handles
before you run out of memory.
MAKING VIEW
A make file is not really needed just:
cl /Ox /Gs /Zp /Gr /AT view.c
Comments on bugs, possible enhancements etc... may be e-mailed
to me on BIX my BIXname is jgoodwin or by U.S. MAIL at:
James P. Goodwin
193 Lafayette St #2
Salem, MA 01970
Please do not send money, this is not shareware and I may or may
not re-post new versions of this program.